package com.jingyanzi.resallocation.domain;

import java.util.List;

public class SalesGroupDO extends BaseDO implements java.io.Serializable {
	/**
	 * id数组
	 */
	private Integer[] ids;
	/**
	 * 门店/看样中心
	 */
	private Integer mappingId;

	/**
	 * 父分组ID
	 */
	private Integer groupId;

	/**
	 * 分组名
	 */
	private String name;
	/**
	 * 父分组名
	 */
	private String groupName;
	/**
	 * 是否是叶子
	 */
	private Integer isNode;
	/**
	 * 是否是销售
	 */
	private Integer isSale;
	
	/**
	 * 是否可删
	 */
	private Integer isHave;
    /**
     * 子集的列表
     */
    private List<SalesGroupDO> children;
	public Integer getMappingId() {
		return mappingId;
	}

	public void setMappingId(Integer mappingId) {
		this.mappingId = mappingId;
	}

	public Integer getGroupId() {
		return groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public Integer getIsNode() {
		return isNode;
	}

	public void setIsNode(Integer isNode) {
		this.isNode = isNode;
	}

	public Integer getIsSale() {
		return isSale;
	}

	public void setIsSale(Integer isSale) {
		this.isSale = isSale;
	}

	public Integer[] getIds() {
		return ids;
	}

	public void setIds(Integer[] ids) {
		this.ids = ids;
	}

	public Integer getIsHave() {
		return isHave;
	}

	public void setIsHave(Integer isHave) {
		this.isHave = isHave;
	}

	public List<SalesGroupDO> getChildren() {
		return children;
	}

	public void setChildren(List<SalesGroupDO> children) {
		this.children = children;
	}

}
